package net.huashitong.keyan.service;

import com.sirdc.modules.core.dao.BaseDao;
import com.sirdc.modules.sys.base.StringPKService;
import net.huashitong.keyan.dao.IndexMagDao;
import net.huashitong.keyan.entity.IndexMag;
import net.huashitong.keyan.filter.IndexMagFilter;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class IndexMagService extends StringPKService<IndexMag> {
    @Autowired
    private IndexMagDao dao;
    @Override
    protected BaseDao<IndexMag, String> getDao() {
        return dao;
    }

    public List<IndexMag> getList(IndexMagFilter filter)
    {
        return dao.getList(filter);
    }
}
